package com.ccb.jyzx.expand.ouapi.dao.ouapi;

import com.ccb.jyzx.expand.ouapi.beans.OrganiztionInfo;
import com.ccb.jyzx.expand.ouapi.beans.sync.DepartmentInfoSync;
import com.ccb.jyzx.expand.ouapi.beans.sync.OrganiztionInfoSync;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author XIEFEI
 * @date 2019-11-12 9:38
 * @Description
 **/
public interface OrganiztionDao {
    OrganiztionInfo getById(@Param("id")String id);

    List<OrganiztionInfo> getAll();

    List<OrganiztionInfoSync> getAllSync();

    void save(OrganiztionInfoSync organiztionInfoSync);

    void update(OrganiztionInfoSync organiztionInfoSync);

    void deleteById(@Param("id")String id);
}
